<?php

class Application_Model_Product {

    private $id;
    private $name;
    private $description;
    private $price;
    private $num;
    private $typeID;
    private $buyTimes;

    function __construct($name, $description, $price, $num, $typeID) {
        $this->name = $name;
        $this->description = $description;
        $this->price = $price;
        $this->num = $num;
        $this->typeID = $typeID;
    }

    public function getBuyTimes() {
        return $this->buyTimes;
    }

    public function setBuyTimes($buyTimes) {
        $this->buyTimes = $buyTimes;
    }

    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getName() {
        return $this->name;
    }

    public function setName($name) {
        $this->name = $name;
    }

    public function getDescription() {
        return $this->description;
    }

    public function setDescription($description) {
        $this->description = $description;
    }

    public function getPrice() {
        return $this->price;
    }

    public function setPrice($price) {
        $this->price = $price;
    }

    public function getNum() {
        return $this->num;
    }

    public function setNum($num) {
        $this->num = $num;
    }

    public function getTypeID() {
        return $this->typeID;
    }

    public function setTypeID($typeID) {
        $this->typeID = $typeID;
    }

}

